class CheckBookmarks < ActiveRecord::Migration
  def self.up
    # will check that every bookmark is associated to a task
    Bookmark.find(:all).each { |b|
      if not b.task
        b.destroy 
        puts "found #{b.id} belonging to #{b.user_id}"
      end  
      }
  end

  def self.down
  end
end
